package com.leanit.pmc.reg.bean;

import com.leanit.pmc.common.util.SqlType;

/**
 * Created by admin on 2016/3/22.
 */
public class RegMail {
    private String mail;
    @SqlType(type = "date", format = "yyyy-mm-dd hh24:mi:ss", defaultValue = "sysdate")
    private String regDate;
    @SqlType(defaultValue = "to_char(sysdate,'yyyymmdd')")
    private String regDateStr;
    @SqlType(type = "date", format = "yyyy-mm-dd hh24:mi:ss", defaultValue = "sysdate")
    private String mailSendTime;
    private String mailKey;
    private Integer status;

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getRegDate() {
        return regDate;
    }

    public void setRegDate(String regDate) {
        this.regDate = regDate;
    }

    public String getRegDateStr() {
        return regDateStr;
    }

    public void setRegDateStr(String regDateStr) {
        this.regDateStr = regDateStr;
    }

    public String getMailSendTime() {
        return mailSendTime;
    }

    public void setMailSendTime(String mailSendTime) {
        this.mailSendTime = mailSendTime;
    }

    public String getMailKey() {
        return mailKey;
    }

    public void setMailKey(String mailKey) {
        this.mailKey = mailKey;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "RegMail{" +
                "mail='" + mail + '\'' +
                ", regDate='" + regDate + '\'' +
                ", regDateStr='" + regDateStr + '\'' +
                ", mailSendTime='" + mailSendTime + '\'' +
                ", mailKey='" + mailKey + '\'' +
                ", status=" + status +
                '}';
    }
}
